﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using JM.JCY.Common;
using NCS.IConnect.PolicyInjection.CallHandlers;
using JM.JCY.BusinessComponent;
using JM.JCY.BusinessEntity;
using JM.JCY.DataAccess;


namespace JM.JCY.BusinessFacade
{
    public class IncorruptBF : JCYBusinessFacadeBase<IncorruptBC>, IIncorrupt
    {
        public IncorruptBF()
            : base(new IncorruptBC())
        {
        }

        //内部监督有关事项自查表（业务部门）
        public void UpdateSelfControlBusiness(IncorruptDataSet.T_SelfControl_BusinessDataTable dt)
        {
            this.BusinessComponent.UpdateSelfControlBusiness(dt);
        }

        public IncorruptDataSet.T_SelfControl_BusinessDataTable GetSelfControlBusiness(int Id, string filler)
        {
            return this.BusinessComponent.GetSelfControlBusiness(Id, filler);
        }

        //内部监督有关事项自查表（综合部门）
        public void UpdateSelfControlOverall(IncorruptDataSet.T_SelfControl_OverallDataTable dt)
        {
            this.BusinessComponent.UpdateSelfControlOverall(dt);
        }

        public IncorruptDataSet.T_SelfControl_OverallDataTable GetSelfControlOverall(int Id, string filler)
        {
            return this.BusinessComponent.GetSelfControlOverall(Id, filler);
        }

        //个人重大事项报告表
        public void UpdatePersonImportantReport(IncorruptDataSet.T_PersonImportantReportDataTable dt)
        {
            this.BusinessComponent.UpdatePersonImportantReport(dt);
        }

        public IncorruptDataSet.T_PersonImportantReportDataTable GetPersonImportantReport(int Id, string reporter)
        {
            return this.BusinessComponent.GetPersonImportantReport(Id, reporter);
        }

        //党员干部举办婚丧喜庆宴席审批表
        public void UpdateStaffWeddingApproval(IncorruptDataSet.T_StaffWedding_ApprovalDataTable dt)
        {
            this.BusinessComponent.UpdateStaffWeddingApproval(dt);
        }

        public IncorruptDataSet.T_StaffWedding_ApprovalDataTable GetStaffWeddingApproval(int Id, string applicant)
        {
            return this.BusinessComponent.GetStaffWeddingApproval(Id, applicant);
        }

        //福建省检察机关领导干部遵守《廉政准则》和《廉洁从检若干规定》对照检查表
        public void UpdateLianZhengLianJieCheck(IncorruptDataSet.T_LianZhengLianjieCheckDataTable dt)
        {
            this.BusinessComponent.UpdateLianZhengLianJieCheck(dt);
        }

        public IncorruptDataSet.T_LianZhengLianjieCheckDataTable GetLianZhengLianJieCheck(int Id, string signBy)
        {
            return this.BusinessComponent.GetLianZhengLianJieCheck(Id, signBy);

        }

        //检风检纪记录情况
        public void UpdateJianFengJianJi(IncorruptDataSet.T_JianFengJianJiDataTable dt)
        {
            this.BusinessComponent.UpdateJianFengJianJi(dt);
        }

        public IncorruptDataSet.T_JianFengJianJiDataTable GetJianFengJianJi(int Id, string number, DateTime? startDate, DateTime? endDate, string name)
        {
            return this.BusinessComponent.GetJianFengJianJi(Id, number, startDate, endDate, name);
        }

        //检务督察记录情况
        public void UpdateJianWuDuCha(IncorruptDataSet.T_JianWuDuChaDataTable dt)
        {
            this.BusinessComponent.UpdateJianWuDuCha(dt);
        }

        public IncorruptDataSet.T_JianWuDuChaDataTable GetJianWuDuCha(int Id, string number, DateTime? startDate, DateTime? endDate, string name)
        {
            return this.BusinessComponent.GetJianWuDuCha(Id, number, startDate, endDate, name);
        }

        //违法违纪情况
        public void UpdateWeiFaWeiJi(IncorruptDataSet.T_WeiFaWeiJiDataTable dt)
        {
            this.BusinessComponent.UpdateWeiFaWeiJi(dt);
        }

        public IncorruptDataSet.T_WeiFaWeiJiDataTable GetWeiFaWeiJi(int Id, string number, DateTime? startDate, DateTime? endDate, string name)
        {
            return this.BusinessComponent.GetWeiFaWeiJi(Id, number, startDate, endDate, name);
        }

        //领导干部收入申报表
        public void UpdateLingDaoSalary(IncorruptDataSet.T_LingDaoSalaryDataTable dt)
        {
            this.BusinessComponent.UpdateLingDaoSalary(dt);
        }

        public IncorruptDataSet.T_LingDaoSalaryDataTable GetLingDaoSalary(int Id, string name)
        {
            return this.BusinessComponent.GetLingDaoSalary(Id, name);
        }

        //检察干警配偶子女从业情况申报登记表
        public void UpdateJianChaGanbuPeiOuCongYe(IncorruptDataSet.T_JianChaGanbuPeiOuCongYeDataTable dt)
        {
            this.BusinessComponent.UpdateJianChaGanbuPeiOuCongYe(dt);
        }

        public IncorruptDataSet.T_JianChaGanbuPeiOuCongYeDataTable GetJianChaGanbuPeiOuCongYe(int Id, string name)
        {
            return this.BusinessComponent.GetJianChaGanbuPeiOuCongYe(Id, name);
        }

        //领导干部党风廉政建设检查评议登记表
        public void UpdateLingDaoDangFengCheck(IncorruptDataSet.T_LingDaoDangFengCheckDataTable dt)
        {
            this.BusinessComponent.UpdateLingDaoDangFengCheck(dt);
        }

        public IncorruptDataSet.T_LingDaoDangFengCheckDataTable GetLingDaoDangFengCheck(int Id, string name)
        {
            return this.BusinessComponent.GetLingDaoDangFengCheck(Id, name);
        }
    }
}
